<!DOCTYPE html>
<html lang="zh-CN">
<head>
    {% block head %}
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数据库环境汇总</title>
    <!-- <link rel="stylesheet" href="{{ url_for('static', filename='tpc_db_info/style.css') }}" type="text/css"> -->
    <link rel="stylesheet" href="{{ url_for('tpc_db_info.static', filename='style.css') }}" type="text/css">
    {% endblock %}
</head>
<body>
{% for message in get_flashed_messages() %}
<div class="alert">{{ message }}</div>
{% endfor %}
<h2>
    数据库环境汇总
</h2>

<p>{{ database_info|length }} 库</p>
<ul class="movie-list">
    {% for database in database_info %}
    <li>{{ database.project }}_{{ database.module }}_{{ database.usage }}_环境 (DBTYPE:{{ database.database_type
        }},IP:{{ database.ip_address }},PORT:{{ database.port }},DBNAME:{{ database.database_name }}, SCHEMA:{{
        database.schema }},USER:{{ database.username }},mm:{{ database.password }})
    </li>
    {% endfor %}
</ul>

<footer>
    <small>&copy; 2025 数据库环境汇总 &nbsp;&nbsp;
    </small>
</footer>
</body>
</html>
